package cn.mazexal.examapi.models.db;

import com.baomidou.mybatisplus.annotation.IdType;
import lombok.Data;

import java.io.Serializable;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
/**
 * 用户错题本
 *
 */
@Data
@TableName(value = "user_wrong")
public class UserWrongDO implements Serializable {

	/**
	 * 
	 */
	@TableId(value = "id", type = IdType.INPUT)
	private Long id;

	/**
	 * 题库ID
	 */
	@TableField(value = "exam_bank_id")
	private Long examBankId;

	/**
	 * 
	 */
	@TableField(value = "user_id")
	private Long userId;

	/**
	 * 
	 */
	@TableField(value = "question_id")
	private Long questionId;

	/**
	 * 出错次数
	 */
	@TableField(value = "wrong_times")
	private Integer wrongTimes;

	/**
	 * 
	 */
	@TableField(value = "is_del")
	private Integer isDel;

	@TableField(value = "create_time")
	private Long createTime;

	@TableField(value = "update_time")
	private Long updateTime;

	@TableField(value = "is_reviewed")
	private Integer isReviewed;

	@TableField(value = "top_menu_id")
	private Long topMenuId;

	@TableField(value = "menu_id")
	private Long menuId;
}